class Solution(object):
    def containsDuplicate(self, nums):
        """
        :type nums: List[int]
        :rtype: bool
        """
        # a = set()
        # for i in range(len(nums)):
        #     if nums[i] not in a:
        #         a.add(nums[i])
        #     else:
        #         return True
        # return False
        if len(nums) == len(set(nums)):
            return False
        else:

            return True



m = [3,3]
s = Solution()
s.containsDuplicate(m)
